package com.scvtc.domain.dto.system.role;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Description: 角色信息
 * @Author: yiFei
 * @date: 2022/4/17 19:55
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("角色信息")
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SystemRoleDto implements Serializable {

    private static final long serialVersionUID = -7099578513353214712L;

    @TableId
    private Long id;

    /**
     * 角色姓名
     */
    @ApiModelProperty("角色姓名")
    private String name;

    /**
     * 角色描述
     */
    @ApiModelProperty("角色描述")
    private String roleDescription;

    /**
     * 账号状态（0正常 1停用）
     */
    @ApiModelProperty(value = "账号状态（0正常 1停用）")
    private String status;


}
